//全部菜单
export const menu = [
  {
    icon: "el-icon-news",
    index: "home",
    title: "home"
  },
  {
    icon: "el-icon-edit",
    index: "acceptOrders",
    title: "acceptOrders",
    subs: [
      {
        index: "acceptOrder",
        title: "acceptOrder"
      },
      {
        index: "toLide",
        title: "toLide"
      }
    ]
  },
  {
    icon: "el-icon-setting",
    index: "transport",
    title: "transport",
    subs: [
      {
        index: "receiptManagement",
        title: "receiptManagement"
      },
      {
        index: "transportLists",
        title: "transportLists"
      },
      {
        index: "serviceCarManagement",
        title: "serviceCarManagement",
        icon: "el-icon-share",
        // subs: [
        //   {
        //     index: "customTree",
        //     title: "customTree"
        //   },
        //   {
        //     index: "treeSelect",
        //     title: "treeSelect"
        //   }
        // ]
      },
      {
        index: "sweepCodeBinding",
        title: "sweepCodeBinding",
        icon: "el-icon-share", 
      }
    ]
  },
  {
    icon: "el-icon-rank",
    index: "carTeams",
    title: "carTeams",
    subs: [
      {
        index: "carTeam",
        title: "carTeam"
      },
      {
        index: "AutoCar",
        title: "AutoCar"
      }
    ]
  },
  {
    icon: "el-icon-document",
    index: "financialControl",
    title: "financialControl",
    subs: [
      {
        index: "acceptStatement",
        title: "acceptStatement"
      },
      {
        index: "externalStatement",
        title: "externalStatement"
      }
    ]
  },
  // 下面数据后期再来添加
  // {
  //   icon: "el-icon-folder",
  //   index: "formDesign",
  //   title: "formDesign"
  // },
  // {
  //   icon: "el-icon-question",
  //   index: "permission",
  //   title: "permission",
  //   subs: [
  //     {
  //       index: "permissionMenu",
  //       title: "permissionMenu",
  //       meta: {
  //         roles: ["admin"]
  //       }
  //     },
  //     {
  //       index: "permissionBtn",
  //       title: "permissionBtn"
  //     }
  //   ]
  // },
  {
    icon: "el-icon-warning",
    index: "error",
    title: "error",
    subs: [
      {
        index: "404",
        title: "404"
      }
    ]
  },
  // {
  //   icon: "el-icon-mobile-phone",
  //   index: "https://github.com/zhuyihe/vue-admin-project",
  //   title: "link"
  // }
];
